rbm_cli(7)
==========

NAME
----
rbm_cli - The rbm command line interface

SYNOPSIS
--------
[verse]
'rbm' <action> <project> [options]

DESCRIPTION
-----------

The rbm commands usually take as first argument an action, then a
project's name and some options.

COMMAND LINE OPTIONS
--------------------

Many of the configuration options that can be set in the main configuration
file and projects configuration files can also be overriden with command
line options. The name of the command line option is the same as the
configuration file option, prepended with '--', and with '_' replaced
by '-'. For instance "output_dir: out" in the configuration file can be
replaced by "--output-dir=out".

The following options can be set on the command line :

 --sysconf-file=<file>::
     Set the optional system configuration file path

 --localconf-file=<file>::
     Set the optional local configuration file path

 --target=<target>::
     Set the target. This option can be used multiple times to use more
     than one target. See link:rbm_targets.html[rbm_targets(7)] for
     details.

 --output-dir=<directory>::
     Set the output directory

 --build-log=<filename>::
     Set the file where the build logs will be written. If the value is `-`
     (the default), the logs will be output on stdout and stderr.

 --version=<version>::
     Set the package version

 --pkg-rel=<rel>::
     Set package release number

 --distribution=<distribution>::
     The name of the linux distribution to build package for.

 --fetch::
 --no-fetch::
     Whether latest commits should be fetched from remote git repository.

 --debug::
 --no-debug::
     Enable or disable debug mode: open a shell in the temporary build
     directory in case of build failure.

 --step::
     This sets the current step when using the showconf command. When
     using the build command this is used to select the step (and build
     script of the same name) to start.

include::clioptions_tar.asc[]

include::clioptions_deb.asc[]

include::clioptions_publish.asc[]

SEE ALSO
--------
link:rbm.html[rbm(1)],
link:rbm_config.html[rbm_config(7)]
